package com.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (TbSupplier)实体类
 *
 * @author makejava
 * @since 2023-07-10 13:58:05
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_supplier")
public class TbSupplier implements Serializable {
    private static final long serialVersionUID = 807418828476406477L;
    @TableId(type = IdType.AUTO)
    private Integer supplierId;
    /**
     * 供应商名称
     */
    private String supplierName;
    /**
     * 统一信用代码
     */
    private String supplierCode;
    /**
     * 状态
     */
    private Integer supplierState;
    /**
     * 简称
     */
    private Integer supplierShortname;
    /**
     * 代号
     */
    private String supplierCodename;
    /**
     * 编码
     */
    private String supplierNumname;
    /**
     * 区域
     */
    private String supplierAera;
    /**
     * 添加时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date supplierAddtime;
    
    private Integer supplierA;
    
    private Integer supplierB;
    
    private Integer supplierC;
    
    private Integer supplierD;
    
    private Integer supplierE;


    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getSupplierCode() {
        return supplierCode;
    }

    public void setSupplierCode(String supplierCode) {
        this.supplierCode = supplierCode;
    }

    public Integer getSupplierState() {
        return supplierState;
    }

    public void setSupplierState(Integer supplierState) {
        this.supplierState = supplierState;
    }

    public Integer getSupplierShortname() {
        return supplierShortname;
    }

    public void setSupplierShortname(Integer supplierShortname) {
        this.supplierShortname = supplierShortname;
    }

    public String getSupplierCodename() {
        return supplierCodename;
    }

    public void setSupplierCodename(String supplierCodename) {
        this.supplierCodename = supplierCodename;
    }

    public String getSupplierNumname() {
        return supplierNumname;
    }

    public void setSupplierNumname(String supplierNumname) {
        this.supplierNumname = supplierNumname;
    }

    public String getSupplierAera() {
        return supplierAera;
    }

    public void setSupplierAera(String supplierAera) {
        this.supplierAera = supplierAera;
    }

    public Date getSupplierAddtime() {
        return supplierAddtime;
    }

    public void setSupplierAddtime(Date supplierAddtime) {
        this.supplierAddtime = supplierAddtime;
    }

    public Integer getSupplierA() {
        return supplierA;
    }

    public void setSupplierA(Integer supplierA) {
        this.supplierA = supplierA;
    }

    public Integer getSupplierB() {
        return supplierB;
    }

    public void setSupplierB(Integer supplierB) {
        this.supplierB = supplierB;
    }

    public Integer getSupplierC() {
        return supplierC;
    }

    public void setSupplierC(Integer supplierC) {
        this.supplierC = supplierC;
    }

    public Integer getSupplierD() {
        return supplierD;
    }

    public void setSupplierD(Integer supplierD) {
        this.supplierD = supplierD;
    }

    public Integer getSupplierE() {
        return supplierE;
    }

    public void setSupplierE(Integer supplierE) {
        this.supplierE = supplierE;
    }

}

